//----------------------------------Include-------------------------------------
#include <stdint.h>
#include "mcu.h"
#include "brd.h"
#include "glbvar.h"
#include "calc.h"
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
//------------------------------------------------------------------------------

//---------------------------------Static Var-----------------------------------
//------------------------------------------------------------------------------

//--------------------------------Static Func-----------------------------------
//------------------------------------------------------------------------------

//---------------------------------Public Func----------------------------------
int main(void)
{
  calc_init();
  brd_init();
  mcu_uart0_dma_tx("start!\r\n", 8);

  //mcu_init_wdg0();
  while(1){
    //mcu_wdg0_feed();
    if(igu32_bufflag){
      igu32_bufflag = 0;
      calc_para();
      mcu_led_toggle();
      mcu_uart0_dma_tx("hello,u0dma\r\n", 13);
    }
  }
}
//-----------------------------------EOF----------------------------------------



